package com.cropdoctor.model.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "NotePo",description = "单条果蔬备注信息")
@TableName("note")
public class NotePo {
    @TableId(type = IdType.AUTO)
    public Long id;

    @ApiModelProperty(value = "对应用户果蔬花园里的果蔬实体id",required = true,example = "1")
    public Long idGarden;

    @ApiModelProperty(value = "备注信息",required = true,example = "今天我的西瓜又长大了一点")
    public String remark;

    @ApiModelProperty(value = "果蔬图片路径",required = true,example = "/1/2")
    String url;

    @ApiModelProperty(value = "备注创建时间",required = true,example = "2024-02-04 17:02:48")
    LocalDate createDate;
}
